package controllers

import command.CommandExec
import dao._
import implicits.Implicits._
import play.api.libs.json.Json
import play.api.mvc.{AbstractController, Action, AnyContent, ControllerComponents}
import tool.Pojo.{CommandData, ProportionData}
import tool.{FormTool, Tool}
import utils.Utils

import java.io.File
import javax.inject.Inject
import scala.concurrent.ExecutionContext.Implicits.global

/**
 * Created by yz on 7/5/2021
 */
class StatisticsController @Inject()(cc: ControllerComponents)(
  implicit val browseCellDao: BrowseCellDao,
  implicit val modeDao: ModeDao,
) extends AbstractController(cc) {

  def index = Action {
    Ok(views.html.statistics())
  }

}
